package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.Set;


/**
 * 开工令装配对象 查询条件类
 *
 * @author qijian
 * @date 2024-08-14
 */

@Data
@ToString
@TableName("main_project_assembly")
public class ProjectAssemblyQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "code",type = WhereTypeEnum.LIKE)
    private String code;
    @WhereType(filed = "project_id")
    private Long projectId;
    @WhereType(filed = "project_machine_no",type = WhereTypeEnum.LIKE)
    private String projectMachineNo;
    @WhereType(filed = "drawing_no",type = WhereTypeEnum.LIKE)
    private String drawingNo;
    @WhereType(filed = "checker_id")
    private Long checkerId;
    @WhereType(filed = "checker_name",type = WhereTypeEnum.LIKE)
    private String checkerName;
    @WhereType(filed = "part_quantity")
    private Long partQuantity;
    @WhereType(filed = "checker_time",type = WhereTypeEnum.BETWEEN)
    private Date[] checkerTime;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "status")
    private Boolean status;
    @WhereType(filed = "approver_id")
    private Long approverId;
    @WhereType(filed = "approver_name",type = WhereTypeEnum.LIKE)
    private String approverName;
    @WhereType(filed = "approver_time",type = WhereTypeEnum.BETWEEN)
    private Date[] approverTime;
    @WhereType(filed = "create_by_id")
    private Long createById;

    @WhereType(filed = "item_name",type = WhereTypeEnum.LIKE)
    private String itemName;

    @WhereType(filed = "item_code",type = WhereTypeEnum.LIKE)
    private String itemCode;

}
